package top.littlejiang.onlinexam.common.base;

/**
 * @author chen
 * @Description
 * @since 2021/2/26 14:28
 */
public class BusinessException extends RuntimeException {

    /**
     * 返回message
     * @param message
     */
    public BusinessException(String message) {
        super(message);
    }

    /**
     * 返回异常信息+message
     * @param message
     * @param cause
     */
    public BusinessException(String message, Throwable cause) {
        super(message, cause);
    }
}
